/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.dao.member;

import com.server.common.persistence.CrudDao;
import com.server.common.persistence.annotation.MyBatisDao;
import com.server.modules.sys.entity.loan.Loan;
import com.server.modules.sys.entity.member.Member;
import org.apache.ibatis.annotations.Param;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * 普通用户信息DAO接口
 * @author 王磊
 * @version 2016-09-22
 */
@MyBatisDao
public interface MemberDao extends CrudDao<Member> {
	public Member getByHxUsername(@Param("hxUsername")String hxUsername);
	public List<Member> telList(Member m);
	public List<Member> checkList(Member m);
	public List<Member> memberloan(Member m);
	public List<Loan> membermate(Member m);
	public List<Member> supplement();
	public List<Member> newmember();
	public List<Member> birthdaysend();
	public List<Member> paysuccess();
	public String getservicenum(String id);
	public List<Member> information(String id);
	public  String findbusiness (String managerId);
	public  String findbusiness1 (Member member1);
	public  String findbusiness2 (String id);
	public String findtel (String id);
	public String findtel1 (String username);
	public String checkbusiness(String id);
	public String servicenum(String id);
	String businessnum(String id);
	String checkservice(String id);
	String clientnums(String id);
	String clientnumb(String id);
	String servicenummouth(String id);
	String businessnummouth(String id);
	String getnowtime();
	String getweekend();
	String getweekstart();
	String servicenumweek(String id);
	String businessnumweek(String id);
	List<Map<String,Object>> servicemap(String id);
	List<Map<String,Object>> businessmap(String id);
	String getCustomerName(String id);
	String getAge(String id);
	String getServiceNum(String id);
	String getBusinessNum(String id);
	String getAge2(String birthdayStr);
}